<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../bootstrap-5.1.3-dist/css/bootstrap.css">
    <script src="../bootstrap-5.1.3-dist/js/bootstrap.js"></script>
</head>

<body container-fluid>
    <h3 align="center">文本对齐方式</h3>
    <div class="text-start border">白马金鞍从武皇</div>
    <div class="text-center border">旌旗十万宿长杨</div>
    <div class="text-end border">楼头少妇鸣筝坐</div>
    <div class="text-justify border">段落中超出屏幕部分文字自动换行：驰道杨花满御沟，红妆缦绾上青楼。金章紫绶千馀骑，夫婿朝回初拜侯。</div>
</body>

</html>